package com.lizhenhua.fmmall.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@ToString
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel(value = "响应的Vo对象",description ="封装接口返回给前端的数据" )
public class ResultVo {
    // 响应给前端的状态码
    //  @ApiModelProperty 属性说明
    @ApiModelProperty(value = "响应状态码",dataType = "int")
    private int code;
    // 响应给前端的提示信息
    @ApiModelProperty(value = "响应提示信息",dataType = "string")
    private String msg;
    // 表示响应给前端的数据
    @ApiModelProperty(value = "响应的数据",dataType = "object")
    private Object data;

}
